package com.fqgj.xjd.user.client.response;

import com.fqgj.xjd.user.client.enums.UserActivityEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: cashmama-user
 * @description
 * @author: frank
 * @create: 2020-04-16 14:05
 **/
public class UserActivity implements Serializable {

    private static final long serialVersionUID = -5255266591198930554L;

    private Long activityId;
    /**
     *类型 1:弹窗 2:活动
     * @see UserActivityEnum
     */
    private Integer type;
    /**
     *活动图片地址
     */
    private String imgUrl;
    /**
     *活动跳转地址
     */
    private String url;
    /**
     *活动标题
     */
    private String title;
    /**
     * 按钮文案
     */
    private String buttonText;
    /**
     *活动描述
     */
    private String content;
    /**
     *有效期开始时间
     */
    private Date startDate;
    /**
     *有效期结束时间
     */
    private Date endDate;
    /**
     *是否上架,0否,1是
     */
    private Integer isSelling;
    /**
     *弹窗间隔 0:没有时间间隔限制 1:自然天
     */
    private Integer intervalType;

    public String getButtonText() {
        return buttonText;
    }

    public UserActivity setButtonText(String buttonText) {
        this.buttonText = buttonText;
        return this;
    }

    public Integer getIntervalType() {
        return intervalType;
    }

    public UserActivity setIntervalType(Integer intervalType) {
        this.intervalType = intervalType;
        return this;
    }

    public Long getActivityId() {
        return activityId;
    }

    public UserActivity setActivityId(Long activityId) {
        this.activityId = activityId;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public UserActivity setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public UserActivity setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public UserActivity setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public UserActivity setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getContent() {
        return content;
    }

    public UserActivity setContent(String content) {
        this.content = content;
        return this;
    }

    public Date getStartDate() {
        return startDate;
    }

    public UserActivity setStartDate(Date startDate) {
        this.startDate = startDate;
        return this;
    }

    public Date getEndDate() {
        return endDate;
    }

    public UserActivity setEndDate(Date endDate) {
        this.endDate = endDate;
        return this;
    }

    public Integer getIsSelling() {
        return isSelling;
    }

    public UserActivity setIsSelling(Integer isSelling) {
        this.isSelling = isSelling;
        return this;
    }
}
